package com.visikard.item;

import java.io.Serializable;

import org.json.JSONObject;

public class GetLocationSpecialItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	String address;
	String lattitue;
	String longitue;
	
	public GetLocationSpecialItem(JSONObject job) {
		if (job == null)
			return;

		try {
			
			lattitue = job.optString("latitude", "");
			longitue = job.optString("longitude", "");
			address = job.optString("address", "");
		}
		catch (Exception e){
			
		}
	}
	public String getAddress() {
		if(address == null)
			return "";
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLattitue() {
		if(address == null)
			return "";
		return lattitue;
	}
	public void setLattitue(String lattitue) {
		this.lattitue = lattitue;
	}
	public String getLongitue() {
		if(address == null)
			return "";
		return longitue;
	}
	public void setLongitue(String longitue) {
		this.longitue = longitue;
	}
	
	

}
